package org.edu.modules.act.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 流程定义表
 */
@Data
//数据表名
@TableName("act_re_model")
//返回值变程对象本身
@Accessors(chain = true)
//重写toString方法
@EqualsAndHashCode(callSuper = false)
public class ActReModelEntity {

    /**主键id*/
    @ApiModelProperty(value = "主键id")
    @TableId(value = "ID_",type = IdType.AUTO)
    private String id;
    //修订号
    @ApiModelProperty(value = "修订号")
    @TableField(value = "REV_")
    private Integer rev;
    //模型名
    @ApiModelProperty(value = "模型名")
    @TableField(value = "NAME_")
    private String name;
    //key
    @ApiModelProperty(value = "key")
    @TableField(value = "KEY_")
    private String key;
    //类型
    @ApiModelProperty(value = "类型")
    @TableField(value = "CATEGORY_")
    private String category;
    //创建时间
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME_")
    private String createTime;
    //最后修改时间
    @ApiModelProperty(value = "最后修改时间")
    @TableField(value = "LAST_UPDATE_TIME_")
    private String lastUpdateTime;
    //版本号
    @ApiModelProperty(value = "版本号")
    @TableField(value = "VERSION_")
    private Integer version;
    //创建时间
    @ApiModelProperty(value = "信息")
    @TableField(value = "META_INFO_")
    private String metaInfo;
    //部署ID
    @ApiModelProperty(value = "部署ID")
    @TableField(value = "DEPLOYMENT_ID_")
    private String deploymentId;
    //资源ID
    @ApiModelProperty(value = "资源ID")
    @TableField(value = "EDITOR_SOURCE_VALUE_ID_")
    private String editorSourceValueId;
    //资源ID
    @ApiModelProperty(value = "资源Id")
    @TableField(value = "EDITOR_SOURCE_EXTRA_VALUE_ID_")
    private String editorSourceExtraValueId;
    //不知道是啥的ID
    @ApiModelProperty(value = "不知道是啥的ID")
    @TableField(value = "TENANT_ID_")
    private String tenantId;



}
